Previous: Indirect Functions, Up: NNTP [Contents][Index]
The following variables affect the behavior of all, or several
of the pre-made connection functions. When not specified, all
functions are affected (the values of the following variables
will be used as the default if each virtual nntp
server doesn’t specify those server variables
individually).
nntp-pre-commandA command wrapper to use when connecting through a non
native connection function (all except
nntp-open-network-stream,
nntp-open-tls-stream, and
nntp-open-ssl-stream). This is where you would
put a ‘SOCKS’ wrapper for
instance.
nntp-addressThe address of the NNTP server.
nntp-port-numberPort number to connect to the NNTP server. The default is ‘nntp’. If you use NNTP over TLS/SSL, you may want to use integer ports rather than named ports (i.e., use ‘563’ instead of ‘snews’ or ‘nntps’), because external TLS/SSL tools may not work with named ports.
nntp-end-of-lineString to use as end-of-line marker when talking to the NNTP server. This is ‘\r\n’ by default, but should be ‘\n’ when using a non native telnet connection function.
nntp-netcat-commandCommand to use when connecting to the NNTP server through ‘netcat’. This is not for an intermediate host. This is just for the real NNTP server. The default is ‘nc’.
nntp-netcat-switchesA list of switches to pass to
nntp-netcat-command. The default is
‘()’.